package com.huilian.iotbox.data.dao;

import com.huilian.iotbox.data.dto.MemberDto;
import com.huilian.iotbox.data.po.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MemberCommonDao {
    List<Member> findAllMemberByMobile(@Param("mobile") String mobile);

    MemberDto queryById(@Param("memberId") Long memberId);

    int delete(Long id);

    int updateById(Member updateMember);
}
